package com.aaa.util;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "分页的信息")
public class PageInfo extends Page {

    /**
     * 当前页
     */
    @ApiModelProperty("当前页")
    private Integer currentPage = 1;

    /**
     * 每页显示的条数
     */
    @ApiModelProperty("每页显示的数据的条数")
    private Integer pageSize = 10 ;



    public PageInfo(Integer currentPage, Integer pageSize) {
        super(currentPage,pageSize);
    }
}
